export interface AppNewsCategoryTableColumns {    
    id:number; // ID    
    cateName:string; // 名称    
    pid:number; // 父ID    
}


export interface AppNewsCategoryInfoData {    
    id:number|undefined;        // ID    
    cateName:string|undefined; // 名称    
    pid:number|undefined; // 父ID    
}


export interface AppNewsCategoryTableDataState {
    ids:any[];
    tableData: {
        data: Array<AppNewsCategoryTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;            
            id: number|undefined;            
            cateName: string|undefined;            
            dateRange: string[];
        };
    };
}


export interface AppNewsCategoryEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:AppNewsCategoryInfoData;
    rules: object;
}